<?php
/**
 * Fastapp.
 * 3/7/24
 * @Author deepsea
 * @Contact telegram:deepsea159 
 */

namespace App;

use App\Fastapp\Api\Controller\ApiController;
use App\Fastapp\Listener\Event\AccountBindEmailEvent;
use App\Game\Listener\Event\TaskSevenDaySignEvent;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\GetMapping;

#[Controller('test')]
class TestController extends ApiController
{
    #[GetMapping('index')]
    public function index()
    {
//        api_dispatch(new AccountBindEmailEvent(50003));
//        api_dispatch(new TaskSevenDaySignEvent(50013, 700001));
        return $this->success($this->request->all());
    }
}